package com.wings4.school.admission

import com.wings4.school.academicconfiguration.AcademicYear
import com.wings4.school.academicconfiguration.AcademicSection
import com.wings4.school.academicconfiguration.AcademicSession
import com.wings4.school.academicconfiguration.AcademicClasses
import com.wings4.security.User

class ApplicantExamAttendance {
    Applicant applicant;
    AcademicYear academicYear;
    AcademicSection academicSection;
    AcademicSession academicSession;
    AcademicClasses academicClasses;
    boolean attendanceStatus;// present=1,absent=0
    User createdBy;
    Date createDate;
    Date modifiedDate;
    static mapping = {
        createDate(sqlType: 'date');
        modifiedDate(sqlType: 'date');
    }
    static constraints = {
        academicSection(nullable: true);
        academicSession(nullable: true);
    }
}
